/*
 * fbank.com Inc.
 * Copyright (c) 2020 All Rights Reserved.
 * create by fm
 * date:2020-04-26
 */
package com.ouwen.smartpay.dao;

import com.fm.module.mybatis.EntityMybatisDao;
import com.ouwen.smartpay.entity.OrderInfo;

/**
 * 统一订单流水 Mybatis Dao
 * <p>
 * Date: 2020-04-26 10:59:41
 *
 * @author fm
 */
public interface OrderInfoDao extends EntityMybatisDao<OrderInfo> {

    OrderInfo findOderInfoByPartnerIdAndRequestNoService(OrderInfo orderInfo);

    OrderInfo findOrderInfoByPartnerIdAndSubPartnerIdRequestNo(String partnerId, String subPartnerId, String requestNo);

    OrderInfo findOrderInfoByPartnerIdAndSubPartnerIdAndMerchOrderNo(String partnerId, String subPartnerId, String merchOrderNo);

}
